---
title: "Search lead"
method: GET
path: "/leads?{input params}={param values}"
---

# Search lead

`GET /leads?{input params}={param values}`

## Query parameters

- `type` string
- `limit` string
- `orgSourceId` string
- `userId` string
- `status` string
- `substatus` string
- `offset` string
- `sortBy` string
- `sortOrder` string

## Response `200`

200

- object
  - `data` object[]
    - `id` integer
    - `userId` integer
    - `type` string
    - `leadFor` string
    - `status` string
    - `nextFollowUp` string
    - `createdOn` string
    - `createdBy` integer
    - `lastUpdatedOn` string
    - `lastUpdatedBy` integer
    - `followUpDetails` object[]
      - `id` integer
      - `userId` integer
      - `leadId` integer
      - `notes` string
      - `createdBy` integer
      - `createdOn` string
      - `followedUpBy` integer
      - `followedUpOn` string
      - `scheduledFollowUp` string
    - `statusLogDetails` object[]
      - `id` integer
      - `userId` integer
      - `leadId` integer
      - `status` string
      - `createdBy` integer
      - `createdOn` string
      - `reasonId` integer
      - `reason` string
    - `orgSourceId` integer
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
